package com.example.easywebdemo.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Description
 * @Author 幻速
 * @Date 2024/4/30 14:50
 **/
@Controller
public class IndexController {
    @GetMapping("/")
    public ModelAndView index(){
        return new ModelAndView("index");
    }

    @GetMapping("/workplace")
    public ModelAndView workplace(){
        return new ModelAndView("/page/console/workplace");
    }
    @GetMapping("/console")
    public ModelAndView console(){
        return new ModelAndView("/page/console/console");
    }
    @GetMapping("/dashboard")
    public ModelAndView dashboard(){
        return new ModelAndView("/page/console/dashboard");
    }
    @GetMapping("/login")
    public ModelAndView login(){
        return new ModelAndView("/page/templates/login/login");
    }
    @GetMapping("/reg")
    public ModelAndView reg(){
        return new ModelAndView("/page/templates/login/reg");
    }
    @GetMapping("/forget")
    public ModelAndView forget(){
        return new ModelAndView("/page/templates/login/forget");
    }
    @GetMapping("/error-403")
    public ModelAndView error403(){
        return new ModelAndView("/page/templates/error/error-403");
    }
    @GetMapping("/error-404")
    public ModelAndView error404(){
        return new ModelAndView("/page/templates/error/error-404");
    }
    @GetMapping("/error-500")
    public ModelAndView error500(){
        return new ModelAndView("/page/templates/error/error-500");
    }
    @GetMapping("/user-info")
    public ModelAndView userInfo(){
        return new ModelAndView("/page/templates/user-info");
    }
    @GetMapping("/form-basic")
    public ModelAndView formBasic(){
        return new ModelAndView("/page/templates/form/form-basic");
    }
    @GetMapping("/form-advance")
    public ModelAndView formAdvance(){
        return new ModelAndView("/page/templates/form/form-advance");
    }
    @GetMapping("/form-step")
    public ModelAndView formStep(){
        return new ModelAndView("/page/templates/form/form-step");
    }
    @GetMapping("/table-basic")
    public ModelAndView tableBasic(){
        return new ModelAndView("/page/templates/table/table-basic");
    }
    @GetMapping("/table-advance")
    public ModelAndView tableAdvance(){
        return new ModelAndView("/page/templates/table/table-advance");
    }
    @GetMapping("/table-img")
    public ModelAndView tableImg(){
        return new ModelAndView("/page/templates/table/table-img");
    }
    @GetMapping("/table-card")
    public ModelAndView tableCard(){
        return new ModelAndView("/page/templates/table/table-card");
    }
    @GetMapping("/basic/dialog")
    public ModelAndView basicDialog(){
        return new ModelAndView("/page/plugin/basic/dialog");
    }
    @GetMapping("/basic/dropdown")
    public ModelAndView basicDropdown(){
        return new ModelAndView("/page/plugin/basic/dropdown");
    }
    @GetMapping("/basic/notice")
    public ModelAndView basicNotice(){
        return new ModelAndView("/page/plugin/basic/notice");
    }
    @GetMapping("/basic/tagsInput")
    public ModelAndView basicTagsInput(){
        return new ModelAndView("/page/plugin/basic/tagsInput");
    }
    @GetMapping("/basic/cascader")
    public ModelAndView basicCascader(){
        return new ModelAndView("/page/plugin/basic/cascader");
    }
    @GetMapping("/basic/steps")
    public ModelAndView basicSteps(){
        return new ModelAndView("/page/plugin/basic/steps");
    }
    @GetMapping("/basic/printer")
    public ModelAndView basicPrinter(){
        return new ModelAndView("/page/plugin/advance/printer");
    }
    @GetMapping("/basic/split")
    public ModelAndView basicSplit(){
        return new ModelAndView("/page/plugin/advance/split");
    }
    @GetMapping("/basic/formX")
    public ModelAndView basicFormX(){
        return new ModelAndView("/page/plugin/advance/formX");
    }
    @GetMapping("/basic/tableX")
    public ModelAndView basicTableX(){
        return new ModelAndView("/page/plugin/advance/tableX");
    }
    @GetMapping("/basic/dataGrid")
    public ModelAndView basicDataGrid(){
        return new ModelAndView("/page/plugin/advance/dataGrid");
    }
    @GetMapping("/basic/contextMenu")
    public ModelAndView basicContextMenu(){
        return new ModelAndView("/page/plugin/advance/contextMenu");
    }
    @GetMapping("/other/circleProgress")
    public ModelAndView otherCircleProgress(){
        return new ModelAndView("/page/plugin/other/circleProgress");
    }
    @GetMapping("/other/editor")
    public ModelAndView basicCircleProgress(){
        return new ModelAndView("/page/plugin/other/editor");
    }
    @GetMapping("/other/mousewheel")
    public ModelAndView basicCircleMousewheel(){
        return new ModelAndView("/page/plugin/other/mousewheel");
    }
    @GetMapping("/other/other")
    public ModelAndView other(){
        return new ModelAndView("/page/plugin/other/other");
    }
    @GetMapping("/plugin/more")
    public ModelAndView pluginMore(){
        return new ModelAndView("/page/plugin/more");
    }
    @GetMapping("/tpl/tpl-theme")
    public ModelAndView tplTheme(){
        return new ModelAndView("/page/tpl/tpl-theme");
    }
    @GetMapping("/tpl/tpl-note")
    public ModelAndView tplNote(){
        return new ModelAndView("/page/tpl/tpl-note");
    }
    @GetMapping("/tpl/tpl-lock-screen")
    public ModelAndView tplLockScreen(){
        return new ModelAndView("/page/tpl/tpl-lock-screen");
    }
    @GetMapping("/tpl/tpl-message")
    public ModelAndView tplMessage(){
        return new ModelAndView("/page/tpl/tpl-message");
    }
    @GetMapping("/tpl/tpl-password")
    public ModelAndView tplPassword(){
        return new ModelAndView("/page/tpl/tpl-password");
    }
}
